
/*
    A inplace edit.  automatic lose focus when recieve special key(return, esc).
    dirived for cedit, so it will send notify EN_KILLFOCUS when lose focus.
    use macro ON_EN_KILLFOCUS(mfc) to recieve this notify
    
    $Id$
    
*/

#pragma once


// InPlcEdit

class CInPlcEdit : public CEdit
{
	DECLARE_DYNAMIC(CInPlcEdit)

public:
	CInPlcEdit();
	virtual ~CInPlcEdit();

public:
	BOOL IsCanceled(){return m_fCanceled;};


protected:
	DECLARE_MESSAGE_MAP()

public:
	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);

private:
	BOOL m_fCanceled;
};


